package com.david.dao;

import com.david.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * @description: 用户的映射
 * @create: 2021-04-26-09-46
 * @author: David
 **/
@Mapper
@Repository
public interface UserInfoMapper {

//    void addUser(User user);

    Integer count();

    List<Integer> findPeople(Integer num);

    void addOrder(Order order);

    Integer dealOrder();

    Date getTime(Integer id);

    Order findOrder(Integer userId);

    Order payOrder(Integer userId);

}
